<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<jsp:include page="../common/lib.jsp"></jsp:include>
<link rel="stylesheet"
	href="<%=basePath%>ztree/css/css/zTreeStyle/zTreeStyle.css"
	type="text/css">
<SCRIPT language=javascript
	src="<%=basePath%>js/jquery.ztree.all.min.js"></SCRIPT>
<script src="<%=basePath%>js/system/role5.js" type="text/javascript"></script>
</head>
<body>
	<div class="container-fluid">
		<div class="info-center">
			<div class="page-header">
				<div class="pull-left">
					<h4>消息中心</h4>
				</div>
			</div>

			<div class="page-header">
				<input type="button" class="btn btn-primary" value="添加" onclick="add();" />
			</div>



			<div class="clearfix"></div>

			<div class="table-margin">
				<table class="table table-bordered table-header" id="example1">
					<thead>
						<tr>
							<th><input type="checkbox" name="allChecked" /></th>
							<th>酒id</th>
							<th>酒id</th>
							<th>酒id</th>
							<th>酒id</th>
							<th>酒id</th>
							<th>酒id</th>
							<th>酒id</th>
							<th>酒id</th>
							<th>酒id</th>
							<th>酒id</th>
							<th>酒id</th>
							<th>酒id</th>
							<th>酒id</th>
							<th>酒名称</th>
							<th>酒产品描述</th>
							<th>操作</th>
						</tr>
					</thead>
					<tbody>

					</tbody>
				</table>
			</div>
		</div>
		<div class="show-page hidden">
			<ul>
			</ul>
		</div>
	</div>


	<!--新增页面开始-->
	<div class="modal fade" id="myModal-add-info" tabindex="-1"
		role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"
						aria-hidden="true">&times;</button>
					<h4 class="modal-title" id="myModalLabel">新 增</h4>
				</div>
				<form class="form-horizontal" role="form" action="" method="post"
					id="category_add">
					<div class="modal-body">
						<div class="form-group">
							<label class="col-sm-3 control-label no-padding-right">酒名称：
							</label>

							<div class="col-sm-9">
								<input type="text" class="form-control" id="id"
									name="brandname" style="width: 250px" maxlength="15"
									placeholder="10个汉字以内" />

							</div>
						</div>
						</div>
						<div class="modal-body">
							<div class="form-group">
								<label class="col-sm-3 control-label no-padding-right">酒名称：
								</label>

								<div class="col-sm-9">
									<input type="text" class="form-control" id="proname"
										name="brandname" style="width: 250px" maxlength="15"
										placeholder="10个汉字以内" />

								</div>
							</div>
							<div class="modal-body">
								<div class="form-group">
									<label class="col-sm-3 control-label no-padding-right">酒名称：
									</label>

									<div class="col-sm-9">
										<input type="text" class="form-control" id="brandid"
											name="brandname" style="width: 250px" maxlength="15"
											placeholder="10个汉字以内" />

									</div>
								</div>
							</div>
							<div class="modal-body">
								<div class="form-group">
									<label class="col-sm-3 control-label no-padding-right">酒名称：
									</label>

									<div class="col-sm-9">
										<input type="text" class="form-control" id="typeid"
											name="brandname" style="width: 250px" maxlength="15"
											placeholder="10个汉字以内" />

									</div>
								</div>
								<div class="modal-body">
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right">酒名称：
										</label>

										<div class="col-sm-9">
											<input type="text" class="form-control" id="proaddress"
												name="brandname" style="width: 250px" maxlength="15"
												placeholder="10个汉字以内" />

										</div>
									</div>
								</div>
								<div class="modal-body">
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right">酒名称：
										</label>

										<div class="col-sm-9">
											<input type="text" class="form-control" id="alcohol"
												name="brandname" style="width: 250px" maxlength="15"
												placeholder="10个汉字以内" />

										</div>
									</div>
								</div>
								<div class="modal-body">
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right">酒名称：
										</label>

										<div class="col-sm-9">
											<input type="text" class="form-control" id="winefactoryid"
												name="brandname" style="width: 250px" maxlength="15"
												placeholder="10个汉字以内" />

										</div>
									</div>
								</div>
								<div class="modal-body">
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right">酒名称：
										</label>

										<div class="col-sm-9">
											<input type="text" class="form-control" id="promaterial"
												name="brandname" style="width: 250px" maxlength="15"
												placeholder="10个汉字以内" />

										</div>
									</div>
								</div>
								<div class="modal-body">
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right">酒名称：
										</label>

										<div class="col-sm-9">
											<input type="text" class="form-control" id="procapacity"
												name="brandname" style="width: 250px" maxlength="15"
												placeholder="10个汉字以内" />

										</div>
									</div>
								</div>
								<div class="modal-body">
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right">酒名称：
										</label>

										<div class="col-sm-9">
											<input type="text" class="form-control" id="protrait"
												name="brandname" style="width: 250px" maxlength="15"
												placeholder="10个汉字以内" />

										</div>
									</div>
								</div>
								<div class="modal-body">
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right">酒名称：
										</label>

										<div class="col-sm-9">
											<input type="text" class="form-control" id="prostandard"
												name="brandname" style="width: 250px" maxlength="15"
												placeholder="10个汉字以内" />

										</div>
									</div>
								</div>
								<div class="modal-body">
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right">酒名称：
										</label>

										<div class="col-sm-9">
											<input type="text" class="form-control" id="prodetail"
												name="brandname" style="width: 250px" maxlength="15"
												placeholder="10个汉字以内" />

										</div>
									</div>
								</div>
								<div class="modal-body">
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right">酒名称：
										</label>

										<div class="col-sm-9">
											<input type="text" class="form-control" id="price"
												name="brandname" style="width: 250px" maxlength="15"
												placeholder="10个汉字以内" />

										</div>
									</div>
								</div>
								<div class="modal-body">
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right">酒名称：
										</label>

										<div class="col-sm-9">
											<input type="text" class="form-control" id="imageurl"
												name="brandname" style="width: 250px" maxlength="15"
												placeholder="10个汉字以内" />

										</div>
									</div>
								</div>
								<div class="form-group"> 
								<label
									class="col-sm-3 control-label no-padding-right">酒描述： </label>

								<div class="col-sm-9">
									<input type="text" class=" sortNumber form-control"
										name="branddetail" id="imagename" style="width: 250px"
										maxlength="3" />
								</div>
							</div>
						</div>
					</div>
					<div class="modal-footer">
						<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
						<button type="button" class="btn btn-primary" onclick="addtj();">提交</butzton>
					</div>

				</form>
			</div>
			<!-- /.modal-content -->
		</div>
	</div>






	<div class="modal fade" id="shouquan" tabindex="-1" role="dialog"
		aria-labelledby="myModalLabel" aria-hidden="true">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"
						aria-hidden="true">&times;</button>
					<h4 class="modal-title" id="myModalLabel">新 增</h4>
				</div>

				<div class="modal-body">

					<input id="ztree_role_id" type="hidden">
					<ul id="user_tree" class="ztree"></ul>

				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-default" data-dismiss="modal">关闭
					</button>
					<button type="button" class="btn btn-primary"
						onclick="quanxiantj()">提交</button>
				</div>

			</div>
			<!-- /.modal-content -->
		</div>
	</div>

	<div id="liwd" style="display:none">
		<button class="btn btn-primary btn-sm addBtn">新 增</button>
		<button class="btn btn-primary">修改</button>
		<button class="btn btn-danger btn-sm" id="deleteAll">删除</button>
	</div>
	<div id="jl" style="display:none">
		<button class="btn btn-primary" onclick="a('1')" data-id='1'>修改</button>
		<button class="btn btn-danger btn-sm" data-id='1'>删 除</button>
	</div>
</body>
</html>


